<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */

namespace App\Utils\Enum;

class UserEnum
{
    /**
     * 普通用户.
     */
    public const int USER_TYPE_NORMAL = 1;

    /**
     * 主播.
     */
    public const int USER_TYPE_ANCHOR = 2;

    /**
     * 专家.
     */
    public const int USER_TYPE_EXPERT = 3;

    /**
     * 助理
     */
    public const int USER_TYPE_ASSIST = 4;

    /**
     * 游客
     */
    public const int USER_TYPE_VISITOR = 9;


    /**
     * 账号登录
     */
    public const string LOGIN_TYPE_ACCOUNT = 'account';

    /**
     * 手机号码登录
     */
    public const string LOGIN_TYPE_MOBILE = 'mobile';

    /**
     * 手机验证码登录
     */
    public const string LOGIN_TYPE_OPT = 'otp';


    /**
     * 已关注
     */
    public const int FOLLOWED = 1;

    /**
     * 未关注
     */
    public const int UNFOLLOW = 0;

    /**
     * 观看主播
     */
    public const int TASK_WATCH_LIVE = 100;

    /**
     * 分享直播间
     */
    public const int TASK_SHARE_LIVE = 101;

    /**
     * 聊天
     */
    public const int TASK_CHAT_MESSAGE = 102;

    /**
     * 购买爆料
     */
    public const int TASK_BUY_PROJECT = 103;

    /**
     * 在线时间
     */
    public const int TASK_ONLINE_TIME = 104;

    /**
     * 阅读资讯
     */
    public const int TASK_READ_ARTICLE = 105;


}
